package com.ruoyi.categories.service;

import java.util.List;
import com.ruoyi.categories.domain.TbDishCategories;

/**
 * 菜品类别Service接口
 * 
 * @author txt
 * @date 2025-02-05
 */
public interface ITbDishCategoriesService 
{
    /**
     * 查询菜品类别
     * 
     * @param categoryId 菜品类别主键
     * @return 菜品类别
     */
    public TbDishCategories selectTbDishCategoriesByCategoryId(Long categoryId);

    /**
     * 查询菜品类别列表
     * 
     * @param tbDishCategories 菜品类别
     * @return 菜品类别集合
     */
    public List<TbDishCategories> selectTbDishCategoriesList(TbDishCategories tbDishCategories);

    /**
     * 新增菜品类别
     * 
     * @param tbDishCategories 菜品类别
     * @return 结果
     */
    public int insertTbDishCategories(TbDishCategories tbDishCategories);

    /**
     * 修改菜品类别
     * 
     * @param tbDishCategories 菜品类别
     * @return 结果
     */
    public int updateTbDishCategories(TbDishCategories tbDishCategories);

    /**
     * 批量删除菜品类别
     * 
     * @param categoryIds 需要删除的菜品类别主键集合
     * @return 结果
     */
    public int deleteTbDishCategoriesByCategoryIds(Long[] categoryIds);

    /**
     * 删除菜品类别信息
     * 
     * @param categoryId 菜品类别主键
     * @return 结果
     */
    public int deleteTbDishCategoriesByCategoryId(Long categoryId);
}
